
// import _RNWalkCounter from './js/walkCounter';
// export const RNWalkCounter=_RNWalkCounter
// const { RNWalkCounter } = NativeModules;
// //const Emitter = new NativeEventEmitter(RNWalkCounter);

import { DeviceEventEmitter,
    NativeAppEventEmitter,
    NativeEventEmitter,
    NativeModules,
    Platform, } from 'react-native';

const { RNWalkCounter } = NativeModules;
//const Emitter = new NativeEventEmitter(RNWalkCounter);

export default {RNWalkCounter, startCounter() {
        RNWalkCounter.startCounter()
    }
};